import request from '@/until/request'
import Vue from 'vue';


// 设置列表
export const userConfigList = (params) => {
  return request({
    url: `${Vue.prototype.$configURL}userConfig/list`,
    method: 'get',
    params: params,
    headers: {
      isToken: true,
      repeatSubmit: false
    }
  })
}

// 修改用户设置
export const userConfigUpdate = (params) => {
  // console.log(params);
  
  return request({
    url: `${Vue.prototype.$configURL}userConfig/update`,
    method: 'post',
    data: params,
    headers: {
      isToken: true,
      repeatSubmit: false
    }
  })
}
